/*导航选中*/
header .nav-item:nth-child(1) a {
    font-size: 18px;
    color: #668aca;
}
header .nav-item:nth-child(1) span {
    opacity: 1;
}
/*轮播*/
.banner {
    position: relative;
    width: 100%;
    height: 700px;
    background: url("../img/index/banner.jpg") no-repeat center;
    background-size: cover;
}
.banner .dot {
    position: absolute;
    left: 50%;
    bottom: 19px;
    width: 120px;
    height: 14px;
    font-size: 0;
    transform: translateX(-50%);
}
.banner .dot-item {
    position: relative;
    float: left;
    width: 14px;
    height: 14px;
    background-color: rgba(255,255,255,0);
    margin: 0 5px;
    border-radius: 50%;
    cursor: pointer;
}
.banner .dot-item:hover {
    background-color: rgba(255,255,255,1);
}
.banner .dot-item span {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
}
.banner .dot-item:hover span {
    background-color: #668aca;
}
.banner .dot-item:nth-child(1) {
    background-color: rgba(255,255,255,1);
}
.banner .dot-item:nth-child(1) span {
    background-color: #668aca;
}
/*主体内容*/
main {
    width: 100%;
    height: 1976px;
}
/*项目展示*/
main .project {
    height: 453px;
    margin-top: 120px;
}
.title {
    position: relative;
    height: 51px;
}
.title h3 {
    font-weight: normal;
    font-size: 30px;
    line-height: 28px;
    color: #767676;
}
.title p {
    font-size: 12px;
    color: #767676;
    margin: 6px 0;
}
.title i,.title span {
    position: absolute;
    bottom: 0;
    height: 1px;
    background-color: #a1a1a1;
}
.title i {
    left: 0;
    width: 60px;
}
.title span {
    right: 0;
    width: 300px;
}
.project-hd {
    width: 350px;
    height: 20px;
    margin: 58px auto 0;
    font-size: 0;
}
.project-hd li {
    position: relative;
    display: inline-block;
    width: 40px;
    margin-right: 50px;
}
.project-hd li:nth-child(4) {
    margin-right: 0;
}
.project-hd li a {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 14px;
}
.project-hd li a:hover {
    font-size: 16px;
}

.project-hd li span {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 20px;
    height: 1px;
    background-color: #668aca;
    transform: translateX(-50%);
    opacity: 0;
}
.project-hd li:hover span {
    opacity: 1;
}
.project-hd li:nth-child(1) a {
    font-size: 18px;
    color: #668aca;
}
.project-hd li:nth-child(1) span {
    opacity: 1;
}
.project-hd li:nth-child(-n+3)::after {
    position: absolute;
    top: 50%;
    left: 65px;
    content: '';
    width: 1px;
    height: 8px;
    background-color: #b5b5b5;
    transform: translateY(-50%);
}
.project-bd {
    width: 100%;
    height: 270px;
    margin-top: 54px;
}
.project-bd-item {
    position: relative;
    float: left;
    width: 360px;
    height: 270px;
    background-color: #000;
    border-radius: 8px;
    cursor: pointer;
}
.project-bd-item:nth-child(1) {
    background: url("../img/index/pro1.jpg") no-repeat center;
}
.project-bd-item:nth-child(1) .mask {
    width: 100%;
    height: 100%;
    font-size: 12px;
    color: #fff;
    line-height: 17px;
    background-color: #000;
    padding: 58px 0 0 50px;
    border-radius: 8px;
    opacity: 0.5;
}
.project-bd-item:nth-child(1) .mask h6 {
    font-weight: normal;
    font-size: 14px;
    color: #fff;
    margin-bottom: 4px;
}
.project-bd-item:nth-child(1) .mask div {
    font-size: 12px;
    color: #fff;
    margin-bottom: 19px;
}
.project-bd-item:nth-child(1) .icon {
    position: absolute;
    top: 180px;
    right: 50px;
    width: 30px;
    height: 30px;
    margin-bottom: 0;
    background: url("../img/index/icon33.png") no-repeat center;
    background-size: 30px 30px;
    border-radius: 50%;
}
.project-bd-item:nth-child(2) {
    position: relative;
    margin: 0 60px;
    background: url("../img/index/pro2.jpg") no-repeat top left;
}
.project-bd-item:nth-child(3) {
    position: relative;
    background: url("../img/index/pro3.jpg") no-repeat top left;
}
.project-bd-item:nth-child(n+2) p:nth-child(1) {
    margin: 208px 0 7px 50px;
    font-size: 14px;
    color: #767676;
}
.project-bd-item:nth-child(n+2) p:nth-child(2) {
    margin-left: 50px;
    font-size: 12px;
    color: #767676;
}
.project-bd-item:nth-child(n+2) .icon {
    position: absolute;
    top: 210px;
    right: 50px;
    width: 30px;
    height: 30px;
    margin-bottom: 0;
    background: url("../img/index/icon33.png") no-repeat center;
    background-size: 30px 30px;
    border-radius: 50%;
}
.project-bd-item:nth-child(n+2) .mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 12px;
    color: #fff;
    line-height: 17px;
    background-color: #000;
    padding: 58px 0 0 50px;
    border-radius: 8px;
    opacity: 0;
}
.project-bd-item:nth-child(n+2) .mask h6 {
    font-weight: normal;
    font-size: 14px;
    color: #fff;
    margin-bottom: 4px;
}
.project-bd-item:nth-child(n+2) .mask div {
    font-size: 12px;
    color: #fff;
    margin-bottom: 19px;
}
.project-bd-item:nth-child(n+2):hover {
     background: url("../img/index/pro2.jpg") no-repeat center;
     background-size: cover;
 }
.project-bd-item:nth-child(n+2):hover>p {
    opacity: 0;
}
.project-bd-item:nth-child(n+2):hover .mask {
    opacity: 0.5;
}
.project-bd-item:nth-child(n+2):hover .icon {
    top: 180px;
}
.project-bd-item:nth-child(n+3):hover {
    background: url("../img/index/pro3.jpg") no-repeat center;
    background-size: cover;
}
/*产品中心*/
.goods {
    height: 1283px;
    background-color: #ffffff;
    margin-top: 120px;
}
.goods-nav {
    width: 1024px;
    height: 114px;
    margin: 54px auto 110px;
}
.goods-nav-item {
    position: relative;
    float: left;
    width: 164px;
    height: 100%;
    margin-right: 51px;
    cursor: pointer;
}
.goods-nav-item:last-child {
    margin-right: 0;
}
.goods-nav-item .box {
    width: 164px;
    height: 86px;
    border-radius: 5px;
}
.goods-nav-item:nth-child(2) .box {
    background: url("../img/index/icon2.png") no-repeat center;
}
.goods-nav-item:nth-child(3) .box {
    background: url("../img/index/icon3.png") no-repeat center;
}
.goods-nav-item:nth-child(4) .box {
    background: url("../img/index/icon4.png") no-repeat center;
}
.goods-nav-item:nth-child(5) .box {
    background: url("../img/index/icon5.png") no-repeat center;
}
/*被选中的产品*/
.goods-nav-item:nth-child(1) .box {
    background: rgba(102,138,202,.7) url("../img/index/icon1.png") no-repeat center;
}
.goods-nav-item:nth-child(1) p {
    font-size: 16px;
    color: #668aca;
}
.goods-nav-item:nth-child(1) p span {
    font-size: 14px;
    color: #668aca;
}
.goods-nav-item:nth-child(1)>p {
    opacity: 1;
}
.goods-nav-item:hover .box {
    background-color: rgba(102,138,202,.7);
}
.goods-nav-item p {
    width: fit-content;
    margin: 7px auto 4px;
    font-size: 14px;
    color: #767676;
}
.goods-nav-item:hover p {
    font-size: 16px;
    color: #668aca;
}
.goods-nav-item p span {
    font-size: 12px;
    color: #767676;
}
.goods-nav-item:hover p span {
    font-size: 14px;
    color: #668aca;
}
.goods-nav-item>span {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 16px;
    height: 1px;
    background-color: #668aca;
    transform: translateX(-50%);
    opacity: 0;
}
.goods-nav-item:hover>span {
    opacity: 1;
}
/*床 BED*/
.goods .bed li {
    position: relative;
    float: left;
    width: 360px;
    height: 360px;
    margin-right: 40px;
    border-radius: 8px;
    cursor: pointer;
}
.goods .bed li:nth-child(3n) {
    margin-right: 0;
}
.goods .bed li:nth-child(2) {
    background: url("../img/index/bed2.jpg") no-repeat center;
}
.goods .bed li:nth-child(3) {
    background: url("../img/index/bed3.jpg") no-repeat center;
}
.goods .bed li:nth-child(4) {
    background: url("../img/index/bed4.jpg") no-repeat center;
}
.goods .bed li:nth-child(5) {
    background: url("../img/index/bed5.jpg") no-repeat center;
}
.goods .bed li:nth-child(6) {
    background: url("../img/index/bed6.jpg") no-repeat center;
}
.goods .bed li:nth-child(1) {
    background: url("../img/index/bed1.jpg") no-repeat center;
}
.goods .bed li .bed-title {
    position: absolute;
    left: 92px;
    bottom: 0;
}
.goods .bed li p {
    bottom: 0;
    left: 70px;
    font-size: 16px;
    color: #767676;
    line-height: 20px;
}
.goods .bed li .mask {
    position: relative;
    display: none;
    width: 360px;
    height: 320px;
    background-color: rgba(0,0,0,0);
}
.goods .bed li .mask .num {
    position: absolute;
    top: 131px;
    left: 84px;
    font-size: 30px;
    color: #f8f8f8;
    line-height: 23px;
}
.goods .bed li .mask .line {
    position: absolute;
    top: 154px;
    left: 0;
    width: 80px;
    height: 1px;
    background-color: #f8f8f8;
}
.goods .bed li .mask-title {
    position: absolute;
    top: 171px;
    left: 69px;
    width: 221px;
    height: 40px;
}
.goods .bed li .mask-title p {
    font-size: 16px;
    line-height: 20px;
    color: #f8f8f8;
}
.goods .bed li:hover .mask {
    display: block;
    background-color: #000;
    opacity: 0.5;
}
.goods .bed li:hover .bed-title {
    opacity: 0;
}
.goods .bed li:nth-child(1) .mask {
    display: block;
    background-color: rgb(0,0,0);
    opacity: 0.5;
}
    /*服务*/
.services {
    width: 100%;
    height: 700px;
    background: url("../img/index/serv.jpg") no-repeat center;
    background-size: cover;
}
.services .w {
    position: relative;
    overflow: hidden;
}
.services .w>h5 {
    position: absolute;
    top: 150px;
    left: 0;
    font-weight: normal;
    font-size: 30px;
    line-height: 23px;
    color: #fff;
}
.services .w>p {
    position: absolute;
    top: 215px;
    left: 0;
    font-size: 14px;
    line-height: 18px;
    color: #fff;
}
.services .box {
    position: relative;
    width: 1000px;
    height: 158px;
    margin: 401px auto 0;
}
.services .box .ser-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 250px;
    height: 150px;
    border: 1px solid rgba(248,248,248,.2);
    border-left: none;
    cursor: pointer;
}
.services .box .ser-item h6 {
    position: absolute;
    top: 51px;
    left: 100px;
    font-size: 16px;
    line-height: 16px;
    color: #fff;
}
.services .box .ser-item span {
    position: absolute;
    top: 80px;
    left: 114px;
    width: 30px;
    height: 1px;
    background-color: #fff;
}
.services .box .ser-item p {
    position: absolute;
    top: 94px;
    left: 84px;
    font-size: 12px;
    height: 10px;
    color: #fff;
}
.services .box .ser-item:nth-child(2) {
    left: 250px;
}
.services .box .ser-item:nth-child(3) {
    left: 500px;
}
.services .box .ser-item:nth-child(4) {
    left: 750px;
}
.services .box .ser-item:hover {
    width: 264px;
    height: 158px;
    background-color: rgb(102,138,202);
    transform: translate(-7px,-4px);
}
.services .box .ser-item:nth-child(1) {
    width: 264px;
    height: 158px;
    background-color: rgb(102,138,202);
    transform: translate(-7px,-4px);
}
/*新闻资讯 关于*/
.news {
    width: 100%;
    height: 1562px;
}
.news .title:nth-child(1) {
    margin-top: 120px;
}
.news .news-card {
    width: 100%;
    height: 570px;
    margin-top: 60px;
    margin-bottom: 150px;
}
.news-card .news-card-l {
    float: left;
    width: 570px;
    height: 570px;
}
.news-card .card-l-hd {
    position: relative;
    width: 570px;
    height: 270px;
    background: url("../img/index/news1.jpg") no-repeat;
    margin-bottom: 30px;
    cursor: pointer;
}
.news-card .card-l-hd .mask {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 570px;
    height: 90px;
    background-color: rgba(0,0,0,.5);
}
.news-card .card-l-hd .mask h6 {
    font-weight: normal;
    font-size: 16px;
    line-height: 17px;
    color: #fff;
    margin: 11px 0 16px 50px;
}
.news-card .card-l-hd .mask p {
    font-size: 12px;
    line-height: 17px;
    color: #fff;
    margin-left: 50px;
}
.news-card .card-l-hd .mask .icon {
    position: absolute;
    bottom: 12px;
    right: 50px;
    width: 30px;
    height: 30px;
    background: url(../img/index/icon33.png) no-repeat center;
    background-size: 30px 30px;
    border-radius: 50%;
}
.news-card .card-l-bd {
    float: left;
    width: 270px;
    height: 270px;
    cursor: pointer;
}
.news-card .card-l-bd:nth-child(2){
    background: url("../img/index/news2.jpg") no-repeat;
    margin-right: 30px;
}
.news-card .card-l-bd:nth-child(3) {
    background: url("../img/index/news3.jpg") no-repeat;
}
.news-card .news-card-r {
    float: right;
    width: 570px;
    height: 570px;
    background: url("../img/index/news4.jpg") no-repeat;
    cursor: pointer;
}
/*关于简设*/
.news .about {
    margin-top: 60px;
}
.news .about img {
    float: left;
    width: 500px;
    height: 300px;
    margin-right: 29px;
}
.news .about p {
    font-size: 14px;
    color: #767676;
    line-height: 21px;
    padding-top: 32px;
}